#ifndef PAUSESCENE_H
#define PAUSESCENE_H

#include "Button.h"
#include "Scene.h"

class PauseScene : public Scene{
public:
	PauseScene(IDirect3DTexture9* background);
	~PauseScene();

	SceneRS update(float dt);
	void draw(ID3DXSprite* sprite);
	void drawBackground(ID3DXSprite* sprite);

	void loadTexture();
	void releaseTexture();

private:
	IDirect3DTexture9* mBackTex;
	IDirect3DTexture9* mResume;
	IDirect3DTexture9* mResumeBack;
	IDirect3DTexture9* mSaveMap;
	IDirect3DTexture9* mSaveMapBack;
	IDirect3DTexture9* mBackToStart;
	IDirect3DTexture9* mBackToStartBack;

	Button* btResume;
	Button* btSaveMap;
	Button* btBackToStart;

	D3DXVECTOR3 mBackgroundPos;
	D3DXVECTOR3 mBackgroundCenter;
	LONG mWidth;
	LONG mHeight;

	float count;
};

#endif